<style>
.content-group {background:#fff;border-radius: 0.5rem;margin-bottom:0.39rem}
.merchname {display:none}
.carousel {margin-top:0}
.fui-tab-scroll .item a {color:#ffd68a;font-weight:bold}
.fui-tab-scroll .item.on,.fui-tab-scroll .item.on a{color:#fff;}
.fui-tab-scroll .item.on:before {background:linear-gradient(to right,rgba(255,255,255,1),rgba(255,255,255,0));}
.carousel {margin-top:0}
.fui-icon-group .fui-icon-col {
    margin: 0.1rem 0;
}
.fui-header:after {
	border-bottom: 0 solid #D9D9D9;
}
</style>
<div ng-include="sys_html('common/_header','','','jy_weishop')"></div>
<div class="fui-page fui-page-current page-goods-list">
<div class='fui-content' style="top:0">
	<div class="topbg" style="position: relative;text-align:center;width:100%;height:2.5rem;background: linear-gradient(#fd0303, #fe6f6f);">
		<div class="fui-header searchtop" style="background:#fd0303">
			<div class="fui-header-left" style="padding-left:0.5rem">
					<img style="height:1.2rem" ng-src="{{tomedia(pagedata.pluginset.logo) || '../addons/jy_newshopfee/resource/images/logo.png'}}"/>
			</div>
			<div class="fui-header-input" style="right:0.5rem">
				<div class="searchbar searchbar-active" style="margin-left:4.0rem">
						<div class="search-input" style="margin-right:1.5rem">
							<i id="searchsub" class="icon icon-sousuo1" ng-click="pagedata.params.pid=-1;tool.get_list('jy_weishop/goods.index/getlist/',true)"></i>
							<input type="search" placeholder="搜索商品" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.6rem;background:#f9f9f9;border-radius: 1rem;border: 0 solid #ddd;" />
						</div>
				</div>
			</div>
			<div class="fui-header-right" style="padding-right:0.5rem;color:#fff">
					<i class="icon jinyunicon icon-fenxiang2" onclick="$('#showsharecover').modal();" style="font-size: 1rem;margin-right:10px"></i>
					<i class="icon jinyunicon icon-liaotian" ng-click="access_json('jy_newshopfee/myhome/')" style="font-size: 1rem;"></i>
			</div>
		</div>
		<div class="fui-tab-scroll" style="margin-top:2rem" ng-if="pagedata.p_group.length>0">
			<div ng-class="{'item':1,'on':pagedata.params.pid==0}" style="height:2rem;line-height:1.5rem"><a href="javascript:;" ng-click="pagedata.params.pid=0;tool.get_list('jy_weishop/goods.index/getlist/order=ishot',true)">热卖推荐</a></div>
			<div ng-repeat="tab in pagedata.p_group" style="height:2rem;line-height:1.5rem;" ng-class="{'item':1,'on':pagedata.params.pid==tab.id}"><a href="javascript:;" ng-click="pagedata.params.pid=tab.id;tool.get_list('jy_weishop/goods.index/getlist/pcate='+tab.id,true)">{{tab.title}}</a></div>
			<div ng-if="!pagedata.p_group || pagedata.p_group.length<1" ng-class="{'item':1,'on':pagedata.params.pid==-1}" style="height:2rem;line-height:1.5rem"><a href="javascript:;" ng-click="pagedata.params.pid=-1;tool.get_list('jy_weishop/goods.index/getlist/',true)">其他商品</a></div>
		</div>
	</div>
	<div ng-if="pagedata.params.pid==0" ng-include="sys_html('shop/_hdps','','','jy_weishop')" class="radius" style="background: linear-gradient(#fe6f6f, #f2f2f2);padding:0 0.5rem;border-radius:0;margin-top:-1px"></div>
	<div style="background:#fff;margin-top:0.3rem;padding: 0.3rem;width:100%">
		<div ng-include="sys_html('common/_bankuai1')"></div>
	</div>
	<div ng-if="pagedata.params.pid==0" class="fui-cube" style="padding:0.3rem 0;height:4rem">
		<img style="height:4rem" ng-src="{{tomedia(pagedata.pluginset.indexad) ||'../addons/jy_newshopfee/resource/images/indexad.jpeg'}}"/>
	</div>
	<div class="radius" ng-include="sys_html('common/_likegoods')"></div>
</div>
</div>
<div ng-include="sys_html('common/_share','','','jy_weishop')"></div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<div ng-include="sys_html('common/_footer','','','jy_weishop')"></div>
<div ng-include="sys_html('common/_coupon',true)"></div>
<div ng-include="sys_html('common/_h5game',true)"></div>
<div ng-include="sys_html('common/_gotop',true)"></div>
<div ng-include="sys_html('shop/_ordermodal','','','jy_weishop')"></div>
<script>
scope.pagedata.setting.issearch=1
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>